﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TgcViewer.Example;
using AlumnoEjemplos.Ocio.Element;
using Microsoft.DirectX.Direct3D;
using TgcViewer;
using Microsoft.DirectX;

namespace AlumnoEjemplos.Ocio
{
   public class TestPared : TgcExample
    {
        private Pared pared = null;

        public override string getCategory()
        {
            return "0_Ocio";
        }

        public override string getName()
        {
            return "Test-Pared";
        }

        public override string getDescription()
        {
            return "gfgfgf";
        }

        public override void init()
        {
            Device d3dDevice = GuiController.Instance.D3dDevice;
            GuiController.Instance.RotCamera.Enable = true;
            GuiController.Instance.setCamera(new Vector3(900f, 0, 900f), new Vector3(86.4563f, -15.4191f, 703.7123f));
            pared = new Pared(5, 10, 2);
        }

        public override void close()
        {
            return;
        }

        public override void render(float elapsedTime)
        {
            this.pared.render();
        }
    }
}
